package org.jupiter.blog.api.convertor;

import org.jupiter.blog.api.domain.JupiterCategory;
import org.jupiter.blog.api.dto.JupiterCategoryDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface JupiterCategoryConvertor {

	JupiterCategory toEntity(JupiterCategoryDTO dto);

	JupiterCategoryDTO toDto(JupiterCategory entity);
}
